package com.springboot2.shiro.data.service;

import com.springboot2.shiro.data.repository.ResourceRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * ResourceServiceImpl
 *
 * @author Archx[archx@foxmail.com]
 * at 2018/7/13 21:32
 */
@Service
public class ResourceServiceImpl implements ResourceService {

    private ResourceRepository repository;

    @Autowired
    public void setRepository(ResourceRepository repository) {
        this.repository = repository;
    }

    @Override
    public ResourceRepository getRepository() {
        return repository;
    }
}
